WordPress: change language 更改语言中文/英文

Categories: Development NotesWordPress; Tagged with: ; @ March 16th, 2013 10:39

Modify the wp_config.php

 

If you want to change the language to ‘English’

 

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress.  A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
* language support.
*/
define (‘WPLANG’, ”);

 

Keep the value empty.

 

如果你想改变为中文:

/**
* WordPress 语言设置,中文版本默认为中文。
*
* 本项设定能够让 WordPress 显示您需要的语言。
* wp-content/languages 内应放置同名的 .mo 语言文件。
* 要使用 WordPress 简体中文界面,只需填入 zh_CN。
*/
define(‘WPLANG’, ‘zh_CN’);

修改后控制台会有提示下载语言包.

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.